import { createActionGroup, props } from '@ngrx/store';
import { ActiveModuleState } from '../modules/active-module';

export interface IFocusAction {
  focusChange: any;
}
// eslint-disable-next-line @typescript-eslint/naming-convention
export const FocusActions: IFocusAction = createActionGroup({
  source: 'Focus',
  events: {
    // eslint-disable-next-line @typescript-eslint/naming-convention
    'Focus Change': props<{ payload: ActiveModuleState }>(),
  }
});
